You should always test a Groovy-based code extension before you implement it in the production system. You can use Script Runner for this purpose (Administration DBA
Script Runner). When using Script Runner, remember that:
You must always test on a non-production system first.
Running a script may bring the node down.
N4 logs any code executed from the Script Runner window.